3.285 \(\int (b \csc (e+f x))^n \sec ^3(e+f x) \, dx\)

Optimal. Leaf size=49 \[ -\frac {(b \csc (e+f x))^{n+3} \, _2F_1\left (2,\frac {n+3}{2};\frac {n+5}{2};\csc ^2(e+f x)\right )}{b^3 f (n+3)} \]

[Out]

-(b*csc(f*x+e))^(3+n)*hypergeom([2, 3/2+1/2*n],[5/2+1/2*n],csc(f*x+e)^2)/b^3/f/(3+n)

________________________________________________________________________________________

Rubi [A]  time = 0.05, antiderivative size = 49, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {2621, 364} \[ -\frac {(b \csc (e+f x))^{n+3} \, _2F_1\left (2,\frac {n+3}{2};\frac {n+5}{2};\csc ^2(e+f x)\right )}{b^3 f (n+3)} \]

Antiderivative was successfully verified.

[In]

Int[(b*Csc[e + f*x])^n*Sec[e + f*x]^3,x]

[Out]

-(((b*Csc[e + f*x])^(3 + n)*Hypergeometric2F1[2, (3 + n)/2, (5 + n)/2, Csc[e + f*x]^2])/(b^3*f*(3 + n)))

Rule 364

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(a^p*(c*x)^(m + 1)*Hypergeometric2F1[-
p, (m + 1)/n, (m + 1)/n + 1, -((b*x^n)/a)])/(c*(m + 1)), x] /; FreeQ[{a, b, c, m, n, p}, x] &&  !IGtQ[p, 0] &&
 (ILtQ[p, 0] || GtQ[a, 0])

Rule 2621

Int[(csc[(e_.) + (f_.)*(x_)]*(a_.))^(m_)*sec[(e_.) + (f_.)*(x_)]^(n_.), x_Symbol] :> -Dist[(f*a^n)^(-1), Subst
[Int[x^(m + n - 1)/(-1 + x^2/a^2)^((n + 1)/2), x], x, a*Csc[e + f*x]], x] /; FreeQ[{a, e, f, m}, x] && Integer
Q[(n + 1)/2] &&  !(IntegerQ[(m + 1)/2] && LtQ[0, m, n])

Rubi steps

\begin {align*} \int (b \csc (e+f x))^n \sec ^3(e+f x) \, dx &=-\frac {\operatorname {Subst}\left (\int \frac {x^{2+n}}{\left (-1+\frac {x^2}{b^2}\right )^2} \, dx,x,b \csc (e+f x)\right )}{b^3 f}\\ &=-\frac {(b \csc (e+f x))^{3+n} \, _2F_1\left (2,\frac {3+n}{2};\frac {5+n}{2};\csc ^2(e+f x)\right )}{b^3 f (3+n)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.04, size = 51, normalized size = 1.04 \[ -\frac {b (b \csc (e+f x))^{n-1} \, _2F_1\left (2,\frac {1-n}{2};\frac {3-n}{2};\sin ^2(e+f x)\right )}{f (n-1)} \]

Antiderivative was successfully verified.

[In]

Integrate[(b*Csc[e + f*x])^n*Sec[e + f*x]^3,x]

[Out]

-((b*(b*Csc[e + f*x])^(-1 + n)*Hypergeometric2F1[2, (1 - n)/2, (3 - n)/2, Sin[e + f*x]^2])/(f*(-1 + n)))

________________________________________________________________________________________

fricas [F]  time = 1.63, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\left (b \csc \left (f x + e\right )\right )^{n} \sec \left (f x + e\right )^{3}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*csc(f*x+e))^n*sec(f*x+e)^3,x, algorithm="fricas")

[Out]

integral((b*csc(f*x + e))^n*sec(f*x + e)^3, x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (b \csc \left (f x + e\right )\right )^{n} \sec \left (f x + e\right )^{3}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*csc(f*x+e))^n*sec(f*x+e)^3,x, algorithm="giac")

[Out]

integrate((b*csc(f*x + e))^n*sec(f*x + e)^3, x)

________________________________________________________________________________________

maple [F]  time = 1.20, size = 0, normalized size = 0.00 \[ \int \left (b \csc \left (f x +e \right )\right )^{n} \left (\sec ^{3}\left (f x +e \right )\right )\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*csc(f*x+e))^n*sec(f*x+e)^3,x)

[Out]

int((b*csc(f*x+e))^n*sec(f*x+e)^3,x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (b \csc \left (f x + e\right )\right )^{n} \sec \left (f x + e\right )^{3}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*csc(f*x+e))^n*sec(f*x+e)^3,x, algorithm="maxima")

[Out]

integrate((b*csc(f*x + e))^n*sec(f*x + e)^3, x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {{\left (\frac {b}{\sin \left (e+f\,x\right )}\right )}^n}{{\cos \left (e+f\,x\right )}^3} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b/sin(e + f*x))^n/cos(e + f*x)^3,x)

[Out]

int((b/sin(e + f*x))^n/cos(e + f*x)^3, x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (b \csc {\left (e + f x \right )}\right )^{n} \sec ^{3}{\left (e + f x \right )}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*csc(f*x+e))**n*sec(f*x+e)**3,x)

[Out]

Integral((b*csc(e + f*x))**n*sec(e + f*x)**3, x)

________________________________________________________________________________________